package level
{
	import org.flixel.*;
	
	import enemy.*;
	import interaction.*;
	import item.*;
	import treasure.*;
	
	/**
	 * ...
	 * @author JAC
	 */
	public class Level_6 extends GameState
	{
		override public function create():void
		{
			super.create();
			
			_maze.load(StaticMaze.level_6);
			
			_player.spawnAt(15, 15);
			
			
			addItem(new Boulder(5, 8));
			addItem(new Boulder(6, 8));
			addItem(new SpeedBoost(12, 13));
			addItem(new SpeedBoost(17, 13));
			
			var t1:Teleporter = new Teleporter(16, 9);
			var t2:Teleporter = new Teleporter(8, 6);
			t1.other = t2;
			t2.other = t1;
			addInteraction(t1);
			addInteraction(t2);
			
			addInteraction(new Trapdoor(4, 19));
			addInteraction(new Trapdoor(14, 1));
			
			addTreasure(new LootBag(6, 1));
			addTreasure(new LootBag(9, 1));
			addTreasure(new LootBag(12, 1));
			
			addTreasure(new LootBag(22, 1));
			addTreasure(new LootBag(25, 1));
			
			addTreasure(new LootBag(8, 13));
			addTreasure(new LootBag(21, 13));
			addTreasure(new LootBag(16, 19));
			addTreasure(new LootBag(8, 19));
			
			addEnemy(new Robber(19, 20));
			addEnemy(new Exorcist(1, 0));
			addEnemy(new Exorcist(0, 15));
			
			addEnemy(new Brute(28, 17));
			addEnemy(new Brute(28, 10));
			
			LoggerWrapper.logLevelStart(10, "Level_6");
		}
	}
}